package com.lottery.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class SimpleOutputDTO<T> {

    private int code = 0;
    private String message = "success";
    private T data;

    public SimpleOutputDTO(T data) {
        this.data = data;
    }
}
